package com.hxd.otc.module.fiat_deal.contract;

import com.hxd.otc.module.fiat_deal.bean.DealResultDataBean;
import com.hxd.otc.module.my.bean.BankCardBean;
import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

import java.util.ArrayList;

/**
 * Created by lzy on 2018/11/22 0022.
 * description ${交易对话框Contact}
 */
public interface DealDialogContract {
    interface IView extends IBaseView {

        void getUserBankCardFail(String errMessage);

        void updateSelBankCard(BankCardBean bankCardBean);
    }

    interface IPresenter extends IBasePresenter {
        DealResultDataBean.Data getDealData();

        void setDealData(DealResultDataBean.Data dealData);

        int getDealType();

        void setDealType(int dealType);

        String getTransactionPair();

        void setTransactionPair(String transactionPair);

        void getUserBankCard();

        ArrayList<BankCardBean> getBankCardList();

        void setSelBankCard(BankCardBean bankCardBean);

        BankCardBean getSelBankCardBean();

    }
}
